home *** CD-ROM | disk | FTP | other *** search
- Path: news.indy.net!amphigory!pazuzu
- From: Pazuzu@amphigory.com (Pazuzu)
- Date: 27 Feb 96 20:16:50
- Newsgroups: comp.lang.c
- Subject: Best way to insert in file
- Message-ID: <13c_9602272020@amphigory.com>
- Organization: The Vision and the Void
-
- >From: Bryan Liles
- >To: All
- >Subject: Best way to insert in file
- >Date: 23 Feb 96 17:03:33
-
- >Subject: Best way to insert in file
- >From: stork@serv2.fwi.com (Bryan Liles)
- >Organization: Fort Wayne Internet
-
- >What would be the best way to insert data in to the middle of a text file?
- >I have a program that is supposed to automatically fill out an application.
- >(its a an internic domain app)
-
-
- In DOS? It's impossible. You'd have to read up to the insertion point into a
- temp file, put the inserted text at the end of the temp file, then plop in the
- rest of the original file. It's a pain in the ass.
-
-
- ---
- Pazuzu (pazuzu@amphigory.com):
- SysOp: The Vision and the Void - +1 219 583 5786 - 2400 - 28,800 24/7
- Running Excalibur & WME / BeeMail Alpha Site - h/p, Law, Drugs, Etc
- --- home page: http://www.beemail.com/pazuzu ---
- GothCode 2.0: GoCS!4Ju!3 TJt cDBRc+3M PSl(R) V++s M++ ZGo(GnPuSkInExThBm)
- C+4P15ucp a25+ n+O b:+T H180 g+T w+T r+3(-3)B D+4! h++ s10 k++BdSMDsWR Rm
- Sm N1291LS LusIN- HfsSp8
-